
#include <QtCore>

#include "object/bindable.h"

Bindable::Bindable()
    : m_bLoaded(false),
      m_uiId(0)
{
}

Bindable::~Bindable()
{
    // Trying to delete a bindable without unloading.
    Q_ASSERT(!m_bLoaded);
}

bool Bindable::isLoaded() const
{
    return m_bLoaded;
}

GLuint Bindable::id() const
{
    return m_uiId;
}
